package me.yobol.blog.bean;

import java.io.Serializable;

public class PermissionBean implements Serializable {

	private static final long serialVersionUID = -6734192249556177190L;

	/*
	 * 数据库中用户表的主键
	 */
	private int userId;
	/*
	 * me.yobol.blog.commons.LoginStatus中的静态int字段
	 */
	private int roleId;
	
	public PermissionBean(){
		
	}
	
	public PermissionBean(int userId,int roleId) {
		this.userId = userId;
		this.roleId = roleId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}
	
}
